package com.pqtest.api.mapper;

import com.pqtest.api.dto.ConnectionDto;
import com.pqtest.api.entity.ConnectionEntity;
import com.pqtest.api.entity.SimulibraryEntity;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Connection;
import java.util.List;

@Mapper
public interface ConnectionMapper {
    int collected(ConnectionEntity connectionEntity);
    ConnectionEntity getOne(int id);
    List<ConnectionEntity> getByLibrary(SimulibraryEntity simulibraryEntity);
    List<ConnectionEntity> getDeepByLibrary(SimulibraryEntity simulibraryEntity);
}